package cn.com.clearbus.mini.mail;

import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.stereotype.Component;

import javax.activation.FileTypeMap;
import javax.mail.Session;
import java.util.Properties;


public class MiniJavaMailSenderImpl extends JavaMailSenderImpl {

    public MiniJavaMailSenderImpl() {
        super();
    }

    @Override
    public void setJavaMailProperties(Properties javaMailProperties) {
        super.setJavaMailProperties(javaMailProperties);
    }

    @Override
    public Properties getJavaMailProperties() {
        return super.getJavaMailProperties();
    }

    @Override
    public void setSession(Session session) {
        super.setSession(session);
    }

    @Override
    public  Session getSession() {
        return super.getSession();
    }

    @Override
    public void setProtocol(String protocol) {
        super.setProtocol(protocol);
    }

    @Override
    public String getProtocol() {
        return super.getProtocol();
    }

    @Override
    public void setHost(String host) {
        super.setHost(host);
    }

    @Override
    public String getHost() {
        return super.getHost();
    }

    @Override
    public void setPort(int port) {
        super.setPort(port);
    }

    @Override
    public int getPort() {
        return super.getPort();
    }

    @Override
    public void setUsername(String username) {
        super.setUsername(username);
    }

    @Override
    public String getUsername() {
        return super.getUsername();
    }

    @Override
    public void setPassword(String password) {
        super.setPassword(password);
    }

    @Override
    public String getPassword() {
        return super.getPassword();
    }

    @Override
    public void setDefaultEncoding(String defaultEncoding) {
        super.setDefaultEncoding(defaultEncoding);
    }

    @Override
    public String getDefaultEncoding() {
        return super.getDefaultEncoding();
    }

    @Override
    public void setDefaultFileTypeMap(FileTypeMap defaultFileTypeMap) {
        super.setDefaultFileTypeMap(defaultFileTypeMap);
    }

    @Override
    public FileTypeMap getDefaultFileTypeMap() {
        return super.getDefaultFileTypeMap();
    }
}
